Learn R Programming

CNPBayes (version 1.2.2)

iter<-: Reset number of iterations.

Description

This function changes the number of simulations.

This function retrieves the number of iterations of an MCMC simulation.

Usage

iter(object, force = FALSE) <- value
iter(object)
"iter"(object)
"iter"(object, force = FALSE) <- value
"iter"(object)
"iter"(object, force = FALSE) <- value

Arguments

object
see showMethods(iter)
force
Allow changing of the size of the elements?
value
new number of iterations

Value

The number of MCMC iterations

Examples

Run this code
     iter(MarginalModelExample)

Run the code above in your browser using DataLab